//
//  LoopsView.h
//  薄荷家具
//
//  Created by dllo on 15/12/22.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol LoopsViewDelegate <NSObject>

-(void)sendCurrentIndex:(NSInteger)currentIndex;

@end


@interface LoopsView : UIView
@property(nonatomic, retain)NSArray *imageUrlArray;
@property(nonatomic, assign)NSInteger   currentIndex;
@property(nonatomic, retain)UIImageView *imageView;
@property(nonatomic, retain)NSTimer *timer;
@property(nonatomic, assign) id<LoopsViewDelegate>delegate;


-(id)initWithFrame:(CGRect)frame andArray:(NSArray *)array andinterval:(NSTimeInterval)interval;
@end
